package com.edan.partnerback.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.edan.partnerback.common.VO.DynamicCache;
import com.edan.partnerback.entity.Dynamic;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author edan
 * @since 2024-03-28
 */
public interface DynamicMapper extends BaseMapper<Dynamic> {


    Set<DynamicCache> selecViewsAll(@Param("type") String type);

    Set<DynamicCache> selectComments();

    List<Dynamic> selectAllByIds(@Param("ids") List<Integer> ids);
}
